﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using MM.Common;

namespace MM.Model
{
    public class Task : IReaderLoad
    {
        public void LoadData(IDataReader dr)
        {
            this.Name = dr["Name"].ToStringOr();
            this.Value = dr["Value"].ToStringOr();
            this.Mark = dr["Mark"].ToStringOr();
        }

        /// <summary>
        /// 名
        /// </summary>
        public string Name
        { get; set; }

        /// <summary>
        /// 值
        /// </summary>
        public string Value
        { get; set; }

        /// <summary>
        /// 辅助信息
        /// </summary>
        public string Mark
        { get; set; }
    }
}
